package com.yjh.admin.server.chronic.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yjh.admin.dto.chronic.AbnormalStatisticsDto;
import com.yjh.admin.dto.chronic.WarningTrendDto;
import com.yjh.admin.mapper.chronic.StatisticsMapper;
import com.yjh.admin.server.chronic.StatisticsService;
import org.springframework.stereotype.Service;


/**
 * 体征统计
 *
 * @author GuoBin
 * @date 2020-08-14 16:51:45
 */
@Service
public class StatisticsServiceImpl extends ServiceImpl<StatisticsMapper, AbnormalStatisticsDto> implements StatisticsService {


	@Override
	public AbnormalStatisticsDto abnormalStatistics() {
		return baseMapper.abnormalStatistics();
	}

	@Override
	public WarningTrendDto queryWarningTrend(String startTime, String endTime) {
		return baseMapper.queryWarningTrend(startTime,endTime);
	}
}
